package com.kanshu.ksgb.fastread.doudou.module.bookcity.bean;

import com.dl7.recycler.entity.MultiItemEntity;
import com.kanshu.ksgb.fastread.doudou.common.business.commonbean.BookInfo;

import java.util.List;

/**
 * 封装的书信息
 * Created by wcy on 18/5/21.
 */
public class WrapBookInfo extends MultiItemEntity {
    public static final int TYPE_ONE = 1;
    public static final int TYPE_TWO = 2;
    public int type;
    public BookInfo item;
    public List<BookInfo> items;
    public int totalPage;

    public WrapBookInfo() {
        super(TYPE_ONE);
    }

    public WrapBookInfo(int itemType) {
        super(itemType);
    }

    @Override
    public int getItemType() {
        return type;
    }
}
